package com.github.aloxc.plugin.restplus.entity;

import com.github.aloxc.plugin.DonotGuard;

import java.io.Serializable;
import java.util.Vector;

/**
 * 环境配置
 * @author liyh
 */
@DonotGuard
public class EnvironmentConfig implements Serializable {
    private static final long serialVersionUID = -276497694549476138L;
    @DonotGuard
    private String name;
    @DonotGuard
    private boolean selected;
    @DonotGuard
    private String context;
    @DonotGuard
    private String test;
    @DonotGuard
    private boolean https;
    @DonotGuard
    private String host;
    @DonotGuard
    private int port;
    private Vector<Setting> settingList;

    public String getContext() {
        return context;
    }

    public void setContext(String context) {
        this.context = context;
    }

    public boolean isHttps() {
        return https;
    }

    public void setHttps(boolean https) {
        this.https = https;
    }

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public int getPort() {
        return port;
    }

    public void setPort(int port) {
        this.port = port;
    }

    public Vector<Setting> getSettingList() {
        return settingList;
    }

    public void setSettingList(Vector<Setting> settingList) {
        this.settingList = settingList;
    }



    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public boolean isSelected() {
        return selected;
    }

    public void setSelected(boolean selected) {
        this.selected = selected;
    }

    public EnvironmentConfig(String name, boolean selected, boolean https, String host, int port, Vector<Setting> settingList,String context,String test) {
        this.name = name;
        this.selected = selected;
        this.https = https;
        this.host = host;
        this.port = port;
        this.settingList = settingList;
        this.context = context;
        this.test = test;
    }

    public EnvironmentConfig(){
    }

    public String getTest() {
        return test;
    }

    public void setTest(String test) {
        this.test = test;
    }
}
